import { GET_USER_INFO } from "../constants"
const initialState = {}

const user = (state = initialState, action) => {
  switch (action.type) {
    case GET_USER_INFO:
      return action.payload
    default:
      return state
  }
}

export { user }
